<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            margin: auto;
            height: 300px;
            width: 300px;
            border-style: solid;
        }
        img{
            width: 50px;
            height: 60px;
            vertical-align: middle;
        }
    </style>
</head>

<body>
    <div >
        <img src="img1.jpeg" alt="img"> 图片
    </div>
</body>
</html>